Skip to content

[18.0][MIG] hr_expense_employee_analytic_default: Migration to 18.0 #283

Open
BhaveshHeliconia wants to merge 6 commits intoOCA:18.0from
HeliconiaIO:18.0-mig-hr_expense_employee_analytic_default
Open

[18.0][MIG] hr_expense_employee_analytic_default: Migration to 18.0 #283
BhaveshHeliconia wants to merge 6 commits intoOCA:18.0from
HeliconiaIO:18.0-mig-hr_expense_employee_analytic_default

Conversation

@BhaveshHeliconia
Copy link

No description provided.

@BhaveshHeliconia BhaveshHeliconia mentioned this pull request Dec 30, 2024
10 tasks
@Saran440
Copy link
Member

/ocabot migration hr_expense_employee_analytic_default

@OCA-git-bot OCA-git-bot added this to the 18.0 milestone Jan 17, 2025
Copy link
Member

@marcelsavegnago marcelsavegnago left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@BhaveshHeliconia BhaveshHeliconia force-pushed the 18.0-mig-hr_expense_employee_analytic_default branch from bd6b65c to d435580 Compare February 25, 2025 06:45
@BhaveshHeliconia BhaveshHeliconia force-pushed the 18.0-mig-hr_expense_employee_analytic_default branch from d435580 to 4c8d228 Compare May 12, 2025 12:22
Copy link
Contributor

@CRogos CRogos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code LGTM.

  1. When changing the employee, the analytical distribution will
    be updated.

When changing to a product, where no analytic distribution exists, the analytic accounts are not removed but stay with the previous distribution.

I've also tried to set a distribution for Partner "Anita Oliver", but when I select the employee "Anita Oliver" the distribution is not applied.

@github-actions
Copy link

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Sep 21, 2025
@BhaveshHeliconia BhaveshHeliconia force-pushed the 18.0-mig-hr_expense_employee_analytic_default branch from 4c8d228 to ca077a2 Compare September 23, 2025 05:38
@CRogos
Copy link
Contributor

CRogos commented Sep 23, 2025

@BhaveshHeliconia same findings like before. Did you change anything or just a rebase?

@BhaveshHeliconia BhaveshHeliconia force-pushed the 18.0-mig-hr_expense_employee_analytic_default branch from ca077a2 to 8419086 Compare September 24, 2025 06:21
@BhaveshHeliconia
Copy link
Author

@CRogos : Earlier I had only rebased, but now I’ve also updated the README file.

@CRogos
Copy link
Contributor

CRogos commented Sep 24, 2025

I agree with the readme change, but changing the employee did not work, and also the analytic distribution did not get removed, when I change to a product without distribution template.

@BhaveshHeliconia
Copy link
Author

I agree with the readme change, but changing the employee did not work, and also the analytic distribution did not get removed, when I change to a product without distribution template.

Okay, I’ll work on fixing that.

@github-actions github-actions bot removed the stale PR/Issue without recent activity, it'll be soon closed automatically. label Sep 28, 2025
@github-actions
Copy link

github-actions bot commented Feb 1, 2026

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Feb 1, 2026
@BhaveshHeliconia BhaveshHeliconia force-pushed the 18.0-mig-hr_expense_employee_analytic_default branch from 8419086 to e070f35 Compare February 11, 2026 06:29
@github-actions github-actions bot removed the stale PR/Issue without recent activity, it'll be soon closed automatically. label Feb 15, 2026
@BhaveshHeliconia BhaveshHeliconia force-pushed the 18.0-mig-hr_expense_employee_analytic_default branch from e070f35 to 93b161b Compare March 10, 2026 05:57
@BhaveshHeliconia
Copy link
Author

@CRogos : The module now updates and clears the analytic distribution as expected when changing the employee or product, both interactively and on save. I have also added test cases for the onchange logic.
Could you please review it when you get a chance? Thanks in advance.

Copy link
Member

@CristianoMafraJunior CristianoMafraJunior left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

Copy link
Contributor

@CRogos CRogos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@BhaveshHeliconia we are currently not using this module. Therefore I am not really into it and my first test failed, most likely because I did not set the work_contact_id correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants